import java.util.Arrays;

/**
 * @USER: Administrator
 * @DATE: 2024/9/29 上午12:30
 * @VERSION: 1.0.0
 */
public class LC1460 {
    public static void main(String[] args) {

    }

    public boolean canBeEqual(int[] target, int[] arr) {
        Arrays.sort(target);
        Arrays.sort(arr);
        return Arrays.equals(target, arr);
    }

}
